Skip to content

Extract the bind confirmation prompt into confirmBindPlan - #7058

Closed
shreyas-goenka wants to merge 1 commit into
mainfrom
isaac/dmsbind-1-confirm
Closed

shreyas-goenka wants to merge 1 commit into
mainfrom
isaac/dmsbind-1-confirm

Conversation

@shreyas-goenka

@shreyas-goenka shreyas-goenka commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Moves the bind plan preview and approval prompt into a confirmBindPlan helper and drops the now-unused BindResult.HasChanges/Action fields.

This refactor is done so that DMS support for bind can later use the same prompt function.

The plan preview and approval prompt move out of phases.Bind into a helper that
reads the action from the plan, so BindResult no longer carries HasChanges and
Action. No behavior change; a later change reuses the prompt for DMS bind.

Co-authored-by: Isaac <no-reply@databricks.com>
@shreyas-goenka
shreyas-goenka added this pull request to stack #7062 October 14, 2026 15:03
@github-actions github-actions Bot added the DABs DABs related issues label Oct 14, 2026
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: dd25cca

Run: 38586044877

Env ✅​pass 🙈​skip Time
✅​ aws linux-2core-8gb 276 15 11:47
✅​ aws-windows-latest-4core-16gb 278 13 9:42
✅​ azure linux-2core-8gb 275 15 10:09
✅​ azure-windows-latest-4core-16gb 277 13 6:52
✅​ gcp linux-2core-8gb 276 15 9:58
✅​ gcp-windows-latest-4core-16gb 278 13 6:35
Top 11 slowest tests (at least 2 minutes):
duration env testname
5:09 azure-windows-latest-4core-16gb TestAccept
4:59 aws-windows-latest-4core-16gb TestAccept
4:21 aws-windows-latest-4core-16gb TestTelemetryEndpoint
3:05 gcp-windows-latest-4core-16gb TestAccept
2:54 aws-windows-latest-4core-16gb TestImportDirWithOverwriteFlag
2:44 aws linux-2core-8gb TestTelemetryEndpoint
2:26 gcp linux-2core-8gb TestFilerReadWrite/workspace_files
2:20 azure linux-2core-8gb TestFilerWorkspaceFilesExtensionsRead
2:09 gcp linux-2core-8gb TestFilerWorkspaceFilesExtensionsReadDir
2:05 azure linux-2core-8gb TestFilerWorkspaceFilesExtensionsReadDir
2:03 azure-windows-latest-4core-16gb TestFilerRecursiveDelete/workspace_files

Comment thread bundle/direct/bind.go
}

// Check if the bound resource has changes
result := &BindResult{

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these used anywhere? Lets remove?

@shreyas-goenka
shreyas-goenka removed this pull request from stack #7062 October 19, 2026 15:52
@shreyas-goenka

Copy link
Copy Markdown
Contributor Author

Superseded by stack #7114 (bind as a single planned action, one shared flow).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DABs DABs related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants